﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tracy.DataModel;
using SharedLib;
using TracyGUI.View.UIComponent;

namespace TracyGUI.View.EntryTabs
{
    interface IResourceTabPageView : ITabPageView, IHasEnhancedListView
    {
        void ClearListView();
        void LoadDataItemsToListView(List<Resource> dataItems, bool clearView = true);
        void UpdateDataItem(Resource dataItem);
        void RemoveDataItems(List<Resource> dataItems);

        event EventHandler<GenericEventArgs<List<Resource>>> ResourcesRemoving;
        event EventHandler<GenericEventArgs<List<Resource>>> ResourcesSendingToDownload;
        event EventHandler<GenericEventArgs<Resource>> ResourcesCopyingURL;
        
    }
}
